#include "Segmentation.h"

namespace  FeatureProcessing {
	namespace Segmentations {

		void Segmentation::setSignal(SignalArray & _input){
			if (_input.size()>0){
				SmartPtr<Signal> samples = Signal::getFactoryManager()->create(_input[0].getType(), NULL);
				samples->concat(_input);
				output = segmenter(samples);
			}
		}

		SignalArray & Segmentation::getSignal(){
			return output;
		}

	}
}